package vo;

import java.util.List;

public class Loc {
    private Integer locid;
    private String locname;

    private List<Deptt> deptts;
    public List<Deptt> getDeptts() {return deptts;}//用来从地区到员工的查询
    public void setDeptts(List<Deptt> deptts) {this.deptts = deptts;}

    public Integer getLocid() {
        return locid;
    }

    public void setLocid(Integer locid) {
        this.locid = locid;
    }

    public String getLocname() {
        return locname;
    }

    public void setLocname(String locname) {
        this.locname = locname;
    }

    public Loc() {
    }

    @Override
    public String toString() {
        return "Loc{" +
                "locid=" + locid +
                ", locname='" + locname + '\'' +
                ", deptts=" + deptts +
                '}';
    }
}

